package ru.spb.osll.myfit.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import ru.spb.osll.myfit.common.ComparisonResult;
import ru.spb.osll.myfit.common.Range;
import ru.spb.osll.myfit.common.chart.ChartData;

import java.util.List;
import java.util.Set;

@RemoteServiceRelativePath("chartComparison")
public interface ChartComparisonService extends RemoteService {
  List<ChartData> getChartDataList(List<String> ids);

  Set<String> getComparators();

  ComparisonResult compare(String id, List<String> ids, Range range);
}
